package dao;

import java.util.List;

import model.MemberDiscount;

public interface DiscountDao {
	
	public boolean save(MemberDiscount memberDiscount);

	public boolean updateByConsumption(MemberDiscount memberDiscount);
	
	public List<MemberDiscount> findAll();
	
	public MemberDiscount find(float consumption);
	
	public MemberDiscount findHighest(float consumption);
	
	public boolean removeByConsumption(float consumption);
	
}
